import { createRouter,createWebHistory } from "vue-router";


const router=createRouter({


  history :createWebHistory(),


  routes:[

    {
      
      
      path:'/',
      redirect:'/demo',
    },{

      path:'/demo',
      component:()=>import('../views/Demo.vue')

    },{

      path:'/demo2',
      component:()=>import('../views/Demo2.vue')


    },{
      path:'/Demo3',

      component:()=>import('../views/demo3.vue')
    }



  ]




})

export default router